#region Usings
using System;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration;
#endregion

namespace LP.Model
{
    public class LpDataContext : DbContext
    {
        public LpDataContext()
            : base("Data Source=ANATOLII-PC;Initial Catalog=LearningPortal;Integrated Security=True")
        {
        }

        public DbSet<User> Users { get; set; }
        public DbSet<Role> Roles { get; set; }
        public DbSet<Advertisiment> Advertisiments { get; set; }
    }
}